From 9d0ded563a31b176bd8fd636c150426f0184b1bc Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 7 Dec 2017 11:09:31 +0100 Subject: [PATCH] mm: don't use domain_shutdown() when re-offlining a page It goes all silent, leaving open what has actually caused the crash. Use domain_crash() instead, which leaves a log message before calling domain_shutdown(..., SHUTDOWN_crash). Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/common/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 5616a82263..c0c2d82906 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -1546,7 +1546,7 @@ int offline_page(unsigned long mfn, int broken, uint32_t *status) if ( (pg->count_info & PGC_broken) && (owner = page_get_owner(pg)) ) { *status = PG_OFFLINE_AGAIN; - domain_shutdown(owner, SHUTDOWN_crash); + domain_crash(owner); return 0; } -- 2.30.2